package tuxing;

public  class Yuan extends Pingmian{
	double r;
	Yuan(double r){
		this.r=r;
		
	}
	public double getzc(){
		return 2*3.14*r;
	}
	public double getmj(){
		return 3.14*r*r;
		
	}
	
}
